/*rem转换px比率*/
yjx.service('getRemRatioService',['$rootScope',function($rootScope) {
    return {
        getRios: function() {
            var html  =  angular.element(document.getElementsByTagName('html')[0])
            console.log(html.context.style.fontSize);
            //console.log(angular.element(document.getElementsByTagName('html'))[0])
            var fontSize = html.context.style.fontSize;
            $rootScope.Ratio = parseFloat(fontSize);
            console.log($rootScope.Ratio);
        }
    }
}])